Skip to content

feat(core): emit workflow task duration logging - #1433

Merged
jmaeagle99 merged 6 commits into
mainfrom
storage-duration
Aug 8, 2026
Merged

feat(core): emit workflow task duration logging#1433
jmaeagle99 merged 6 commits into
mainfrom
storage-duration

Conversation

@jmaeagle99

@jmaeagle99 jmaeagle99 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

What was changed

When a WFT takes longer than 5 seconds, emit a TMPRL1104 warn log with external storage data. Threshold can be configured via the TEMPORAL_WORKFLOW_TASK_DURATION_WARN_SECONDS environment variable.

Why?

Help customers better identify causes of long running workflow tasks.

Checklist

  1. How was this tested: Unit tests, Python SDK PR

  2. Any docs updates needed? No

Comment thread crates/sdk-core/src/worker/workflow/managed_run.rs Outdated
Comment thread crates/sdk-core/src/worker/workflow/managed_run.rs Outdated
@jmaeagle99
jmaeagle99 requested a review from Sushisource July 30, 2026 23:21
@jmaeagle99
jmaeagle99 enabled auto-merge (squash) August 8, 2026 00:34
@jmaeagle99
jmaeagle99 merged commit 1cb4ee2 into main Aug 8, 2026
21 checks passed
@jmaeagle99
jmaeagle99 deleted the storage-duration branch August 8, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants